Part Number Hot Search : 
CLL130 4LCX5 HCPL2300 40240 74HCT14 BSR15 MPSA55 D1212
Product Description
Full Text Search
 

To Download AD9957BSVZREEL13 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 1 GSPS Quadrature Digital Upconverter w/18-Bit IQ Data Path and 14-Bit DAC
PRELIMINARY TECHNICAL DATA
FEATURES
1GSPS internal clock speed (up to 400MHz analog out) Integrated 1GSPS 14-bit DAC 250 MHz I/Q data throughput rate Phase noise -123 dBc/Hz (400 MHz carrier) Excellent dynamic performance >80 dB narrowband SFDR 8 Programmable Profiles for shift keying SIN(X)/(X) Correction (Inverse SINC filter) Reference Clock Multiplier Internal oscillator for a single crystal operation Software and hardware controlled power-down Integrated RAM Phase modulation capability Multichip synchronization Easy interface to BlackfinTM SPORT Interpolation factors from 4x to 252x Test tone circuitry Interpolation DAC Mode Gain control DAC Internal divider allows references up to 2 GHz 1.8V & 3.3V Power Supplies 100 Lead TQFP package
AD9957
GENERAL DESCRIPTION
The AD9957 functions as a universal I/Q modulator and agile upconverter for communications systems where cost, size, power consumption and dynamic performance are critical. The AD9957 integrates a high speed Direct Digital Synthesizer (DDS), a high performance, high speed 14-bit digital to analog converter (DAC), clock multiplier circuitry, digital filters and other DSP functions onto a single chip. It provides for base band up-conversion for data transmission in a wired or wireless communications system. The AD9957 is the third offering in a family of a quadrature digital upconverters (QDUCs), which includes the AD9857 and AD9856. It offers performance gains in operating speed, power consumption and spectral performance. Unlike its predecessors, it also supports a 16-bit serial input mode for I/Q base band data. The device can alternatively be programmed to operate as a single-tone sinusoidal source or as an interpolating DAC. The Reference Clock input circuitry includes a crystal oscillator, a high speed divide-by-two input, and a low noise PLL for multiplication of the reference clock frequency. The user interface to the control functions includes a serial port easily configured to interface to the SPORT of the Blackfin DSP and profile pins which enable fast and easy shift keying of any signal parameter (phase, frequency, and amplitude).
APPLICATIONS
HFC Data, Telephony & Video Modems Wireless Base Station Transmission Broadband Communications Transmissions Internet Telephony
Figure 1: Basic Block Diagram
Rev. PrF
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 (c) 2006 Analog Devices, Inc. All rights reserved.
AD9957
PRELIMINARY TECHNICAL DATA
TABLE OF CONTENTS
Electrical Specifications ..................................... 3 Absolute Maximum Ratings ............................... 6 Pin Configuration ............................................... 7 Pin Description.................................................... 8 Modes of Operation........................................... 10
Quadrature Modulation Mode ........................... 10 BlackFin Interface Mode .................................... 10 Signal Processing (QDUC & BFI modes) ...........11
PDCLK Pin ................................................................ 11 TxEnable Pin .............................................................. 11 Input Data Assembler ................................................. 12 Inverse CCI Filter....................................................... 13 Fixed interpolator (4x)................................................ 13 Programmable Interpolating Filter ............................. 14 Quadrature Modulator ................................................ 15 DDS Core ................................................................... 15 Inverse SINC Filter .................................................... 15 Output Scale Factor (OSF) ......................................... 15 14-Bit DAC ................................................................ 15 Auxiliary DAC ........................................................... 16
REFCLK: External Interface..............................19
Serial Programming.......................................... 21
Control Interface--Serial I/O..............................21 General Operation of the Serial Interface..........21 Instruction Byte ....................................................22 Serial Interface Port Pin Description..................22 MSB/LSB Transfers .............................................22 RAM IO via Serial Port .......................................23 RAm control Modes .............................................23 BAseband input scaling with RAM.....................23 I and q input data from ram................................23
Register Map and Descriptions......................... 24
REGISTER MAP .................................................24 REGISTER DESCRIPTIONS ............................32
Control Function Register #1 (CFR1) ........................32 Control Function Register #2 (CFR2) ........................33 Control Function Register #3 (CFR3) ........................35 Auxilliary DAC Control Register ...............................36 IO Update Rate Register.............................................36 QDUC RAM Segment Registers (QRSR0, QRSR1)..36 QRSRX<47:32> RAM Segment Address Ramp Rate ................................................................................36 Frequency Tuning Word Register (FTW) ...................36 Phase Offset Word Register (POW)............................36 Amplitude Scale Factor (ASF) ...................................36 QDUC Profile X Register (QDUC-PXR)/..................36 Single Tone Profile X Register (ST-PXR) ..................36
Interpolating DAC Mode .................................... 16 Single-Tone Mode ................................................ 17
Amplitude Scale Factor (ASF) ................................... 17 I/O_UPDATE Pin....................................................... 17
REFCLK Input.................................................. 19
REFCLK PLL...................................................... 19 REFCLK PLL with Crystal................................ 19
REVISION HISTORY
Revision PrA (5/25/05): Initial Version of Preliminary Datasheet Revision PrB (9/30/05): Register map, pinout, pin description added Revision PrC (12/06/05): Register map completed, pinout updated. Revision PrD (2/27/06) Further progress Revision PrE (3/31/06) Incorporated Marketing review comments
Rev. PrF | Page 2 of 38
PRELIMINARY TECHNICAL DATA
ELECTRICAL SPECIFICATIONS
AD9957
Table 1. Unless otherwise noted, AVDD, DVDD = 1.8V 5%, DAC_VDD, DVDD_I/O = 3.3 V 5%, RSET = 10k, External Reference Clock Frequency = 25 MHz. 40x REFLCK multiplier engaged. Parameter
REF CLOCK INPUT CHARACTERISTICS Frequency Range REFCLK Multiplier Disabled, Divider Disabled REFCLK Multiplier Disabled, Divider Enabled REFCLK Multiplier Enabled at 8x REFCLK Multiplier Enabled at 64x REFCLK Multiplier Enabled at 127x XTAL frequency on REFCLK inputs Input Capacitance Input Impedance Duty Cycle Duty Cycle with REFCLK Multiplier Enabled REFCLK Input Voltage Swing REFCLK Input Power1 DAC OUTPUT CHARACTERISTICS Full Scale Output Current Gain Error Output Offset Differential Nonlinearity Integral Nonlinearity Output Capacitance Residual Phase Noise @ 1 kHz Offset, 400 MHz AOUT REFCLK Multiplier Disabled REFCLK Multiplier Enabled @ 127x REFCLK Multiplier Enabled @ 64x REFCLK Multiplier Enabled @ 8x AC Voltage Compliance Range SPURIOUS-FREE DYNAMIC RANGE (SFDR) fout = 50 MHz fout = 104 MHz fout = 209 MHz fout = 315 Mhz fout = 403 MHz TWO TONE INTERMODULATION DISTORTION (IMD) fout = fout + 1.25 MHz fout = 50 MHz fout = 104 MHz fout = 209 MHz fout = 315 Mhz fout = 403 MHz NOISE SPECTRAL DENSITY (NSD) Single Tone fout = 50 MHz fout = 104 MHz fout = 209 MHz fout = 315 Mhz fout = 403 MHz
Min
Typ
Max
Unit
1 52.5 6.5 3.3 20 3 1.5 50 35 100 -15 10 -10
1000 2000 125 35 7.9 30
0 20
65 1000 +3 30 +10 0.6
MHz MHz MHz MHz MHz MHz pF k % % mV pk-pk dBm mA %FS A LSB LSB pF dBc/Hz dBc/Hz dBc/Hz dBc/Hz V dBc dBc dBc dBc dBc
1 2 5 -123 TBD -105 -115 -0.5V TBD TBD TBD TBD TBD 0.5V
TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD
dBc dBc dBc dBc dBc dBm / Hz dBm / Hz dBm / Hz dBm / Hz dBm / Hz
Rev. PrF | Page 3 of 38
AD9957
Parameter
NOISE SPECTRAL DENSITY (NSD) Continued Eight Tone, 500KHz Tone Spacing fout = 50 MHz fout = 104 MHz fout = 209 MHz fout = 315 Mhz fout = 403 MHz MODULATOR CHARACTERISTICS (260MHz AOUT Input Data: 10MS/s, QPSK, 4x Oversampled I/Q Offset Error Vector Magnitude Input Data: 10MS/s GMSK 4x Oversampled I/Q Offset Error Vector Magnitude Input Data: 10MS/s 256-QAM 4x Oversampled I/Q Offset Error Vector Magnitude Adjacent Channel Leakage Ratio (ACLR) WCDMA with 3.84MHz BW, 5MHz Channel Spacing fDAC=1GSPS, fOUT=200MHz fDAC=1GSPS, fOUT=400MHz TIMING CHARACTERISTICS Parallel Data Bus Maximum Frequency Minimum TxEnable Pulse Width Low Minimum TxEnable Pulse Width High Minimum Data Setup Time (TxEnable to PDClk) Minium Data Hold Time (PDClk rising edge to data change) Serial Control Bus Maximum Frequency Minimum Clock Pulse Width Low Minimum Clock Pulse Width High Maximum Clock Rise/Fall Time Minimum Data Setup Time DVDD_I/O = 3.3 V Minimum Data Hold Time Maximum Data Valid Time Wake-Up Time2 Minimum Reset Pulse Width High I/O UPDATE, PS0, PS1 to SYNCCLK Setup Time DVDD_I/O = 3.3 V I/O UPDATE, PS0, PS1 to SYNCCLK Hold Time Latency I/O UPDATE to Frequency Change Propagation Delay I/O UPDATE to Phase Offset Change Propagation Delay I/O UPDATE to Amplitude Change Propagation Delay CMOS LOGIC INPUTS Logic 1 Voltage Logic 0 Voltage Logic 1 Current Logic 0 Current Input Capacitance
PRELIMINARY TECHNICAL DATA
Min Typ Max Unit
TBD TBD TBD TBD TBD
dBm / Hz dBm / Hz dBm / Hz dBm / Hz dBm / Hz
55
65 0.4 TBD TBD TBD TBD
1
dB % dB % dB %
TBD
TBD
TBD
TBD
79 74
dB dB
250 2 2 4 0 25 7 7 2 3 0 25 5 4 0 24 24 16 2.2 3 2 0.8 12 12
MS/s ns ns ns ns Mbps ns ns ns ns ns ns SYSCLK Cycles3 ns ns SYSCLK Cycles SYSCLK Cycles SYSCLK Cycles V V A A pF
Rev. PrF | Page 4 of 38
PRELIMINARY TECHNICAL DATA
Parameter
CMOS LOGIC OUTPUTS (1 mA Load) Logic 1 Voltage Logic 0 Voltage XTAL OUTPUT BUFFER SPECS Logic 1 Voltage Logic 0 Voltage Output Current POWER CONSUMPTION DVDD_I/O(3.3V) current consumption (QDUC mode) DVDD(1.8V) current consumption (QDUC mode) AVDD(3.3V) current consumption (QDUC mode) AVDD(1.8V) current consumption (QDUC mode) Single Tone Mode Continuous Modulation 255x Interpolation Continuous Modulation 4x Interpolation Burst Modulation (25%) 255x Interpolation Burst Modulation (25%) 4x Interpolation Full-Sleep Mode Inverse Sinc Filter Power Consumption
AD9957
Min
2.8 0.4 1.6 TBD TBD
Typ
Max
Unit
V V V V mA mA mA mA mA mW mW mW mW mW mW mW
500 TBD TBD TBD TBD TBD 150
1000 TBD TBD TBD TBD TBD
1 To achieve the best possible phase noise, the largest amplitude clock possible should be used. Reducing the clock input amplitude will reduce the phase noise performance of the device. 2 Wake-up time refers to the recovery from analog power-down modes. 3 SYSCLK cycle refers to the actual clock frequency used on-chip by the DDS. If the reference clock multiplier is used to multiply the external reference clock frequency, the SYSCLK frequency is the external frequency multiplied by the reference clock multiplication factor. If the reference clock multiplier and divider are not used, the SYSCLK frequency is the same as the external reference clock frequency.
Figure 2 Equivalent Input/Output (I/O) Circuits
Rev. PrF | Page 5 of 38
AD9957
ABSOLUTE MAXIMUM RATINGS
Table 2. Parameter Maximum Junction Temperature AVDD(1.8V), DVDD(1.8V) supplies AVDD(3.3V), DVDD_I/O(3.3V) supplies Digital Input Voltage) Digital Output Current Storage Temperature Operating Temperature Lead Temperature (10 sec Soldering) JA JC Rating 150C 2V 4V -0.7 V to +4V 5 mA -65C to +150C -40C to +85C 300C 38C/W 15C/W
PRELIMINARY TECHNICAL DATA
Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
ESD Caution
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although this product features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality.
Rev. PrF | Page 6 of 38
PRELIMINARY TECHNICAL DATA
AD9957
PIN CONFIGURATION
Rev. PrF | Page 7 of 38
AD9957
PIN DESCRIPTION
Pin # 1, 24, 61, 72, 86, 87, 93, 97100 2 3, 6, 89, 92 74-77, 83 17, 23, 30, 47, 57, 64 11, 15, 21, 28, 45, 56, 66 4, 5, 73, 78, 79, 82, 85, 88, 96 13, 16,22, 29,46,58,62,63 65 7 8 9 10 12 14 18 Mnemonic NC I/O Description
PRELIMINARY TECHNICAL DATA
Not Connected. Allow device pin to float.
PLL_LOOP_FILTER AVDD (1.8V) AVDD (3.3V) DVDD (1.8V) DVDD_I/O (3.3V) AGND
I I I I I I
PLL loop filter compensation pin. Analog Core VDD: 1.8V Analog Supply. Analog DAC VDD: 3.3V Analog Supply. Digital Core VDD: 1.8V Digital Supply. Digital Input/Output VDD: 3.3V Digital Supply. Analog Ground.
DGND
I
Digital Ground.
SYNC_IN+ SYNC_INSYNC_OUT+ SYNC_OUTSYNC_SMP_ERR MASTER _RESET EXT_PWR_DWN
I I O O O I I
19 20 25-27, 31-39, 42-44, 48-50 42 43 40 41 41 51
PLL_LOCK CCI_OVFL D<17:0> SPORT I-DATA SPORT Q-DATA PDCLK/TSCLK TxENABLE FS ISFC
O O I I I O I I I
52-54
PROFILE <2:0>
I
55
SYNC_CLK
O
Digital input (rising edge active). Synchronization signal from external master to synchronize internal sub-clocks. Digital input (rising edge active). Synchronization signal from external master to synchronize internal sub-clocks. Digitaloutput (rising edge active). Synchronization signal from internal device subclocks to synchronize external slave devices. Digitaloutput (rising edge active). Synchronization signal from internal device subclocks to synchronize external slave devices. Digital output (active high). Sync sample error: A high on this pin indicates that the AD9957 did not receive a valid sync signal on SYNC_I+/SYNC_I-. Digital Input (active high). Master reset: clears all memory elements and sets registers to default values. Digital input (active high). External Power Down: A high level on this pin initates the currently programmed power down mode. Please see the Power Down Modes section of this document for further details. If unused, tie to ground. Digital output (active high). PLL_Lock: A high indicates the clock multiplier PLL has acquired lock to the reference clock input. Digital output (active high). CCI Overflow: A high indicates a CCI filter overflow. This pin will remain high until the CCI overflow condition is cleared. Parallel data input bus (active high). These pins provide the interleaved 18 bit digital I & Q vectors for the modulator to upconvert. In Blackfin interface mode, this pin serves as the I-data serial input. In Blackfin interface mode, this pin serves as the Q-data serial input. Digital output (clock) Parallel Data Clock see Signal Processing section for details Digital input (active high). Transmit enable: see Signal Processing section for details In Blackfin interface mode, this pin serves as the FS Input, to receive the RFS OUTPUT signal from the ADSP BF533 Digital input (active high). Input Scaling Function Control: Control for the RAM amplitude scaling function. When this function is engaged, a high sweeps the amplitude from the beginning RAM address to the end. A low sweeps the amplitude from the end RAM address to the beginning. Digital inputs (active high). Profile select pins: used to select one of eight phase/frequency profiles for the DDS core (single-tone or carrier tone). Changing the state of one of these pins will transfer the current contents of all I/O buffers to the corresponding registers. State changes should be setup to the IO_SYNC_CLK pin. Digital output (clock). Outputs System clock/4. The I/O_UPDATE and PROFILE<2:0> pins should be setup to the rising edge of this signal.
Rev. PrF | Page 8 of 38
PRELIMINARY TECHNICAL DATA
59 60 I/O_UPDATE OSK I I
AD9957
Digital input (active high). Input/Output update: A high on this pin transfers the contents of the I/O buffers to the corresponding internal registers. Digital input (active high). Output shaped keying: When the OSK features (manual or automatic), this device controls the OSK function. In manual mode, it toggles the multiplier between 0 (low) and the programmed amplitude scale factor (high). In automatic mode, a low sweeps the amplitude down to zero, a high sweeps the amplitude up to the amplitude scale factor. Digital input/output (active high). Serial data input/output: this pin can be either unidirectional or bidirectional (default), depending on configuration settings. In bidirectional serial port mode, this pin acts as the serial data input and output. In unidirectional, it is an input only. Digital output (active high). Serial Data output: this pinis only active in unidirectional serial data mode. In this mode, it functions as the output. In bidirectional mode, this pin is not operational and should be left floating. Digital clock (rising edge on write, falling edge on read). Serial data clock: this pin provides the serial data clock for the control data path. Write operations to the AD9957 use the rising edge. Readback operations from the AD9957 use the falling edge. Digital input (active low) Chip Select: Bringing this pin low enables the AD9957 to detect serial clock rising/falling edges. Bringing this pin high will cause the AD9957 to ignore input on the serial data pins. Digital input (active high) I/O Reset: Rather than resetting the entire device during a failed communication cycle, when brought high this pin will reset the state machine of the serial port controller and clear any I/O buffers that have been written since the last I/O Update. When unused, tie this pin to ground to avoid accidental resets. Analog output (current mode): Open source DAC complementary output source. Connect through 50 to AGND. Analog output (current mode): Open source DAC output source. Connect through 50 to AGND. Analog reference pin: programs the DAC output full scale reference current. Attach a 10K resistor to AGND. Analog input(active high): Reference CLK input. Can be driven by either an external oscillator or a simple crystal when the internal oscillator is engaged. Analog input(active high): Reference CLK input Analog output (active high). Crystal Output: Provides the output of the internal oscillator's response to a crystal. Crystal Select: selects the reference clock input mode when using the on-
67
SDIO
I/O
68
SDO
O
69
SCLK
O
70
CS
I
71
I/O_RESET
I
80 81 84 90 91 94 95
IOUT IOUT DAC_RSET REF_CLK REF_CLK XTAL_OUT XTAL_SEL
O O O I I O O
chip PLL. Pulling this pin low allows the user to provide a reference clock input to the PLL from an external source. Pulling this pin high enables the on-chip XTAL buffer and allows the user to drive the reference input clock with a crystal
Rev. PrF | Page 9 of 38
AD9957
MODES OF OPERATION
The AD9957 has three basic operating modes:
PRELIMINARY TECHNICAL DATA
* Quadrature modulation mode (default) * Interpolating DAC mode * Single-tone mode
The active mode is selected via the QDUC Operating mode bits (CFR1 <25:24>). The Inverse SINC filter is available in all three modes.
to the AD9957. One 18-bit I word and one 18-bit Q word together comprise one internal sample. Each sample propagates along the internal data pathway in parallel fashion. The DDS core provides a quadrature (sine and cosine) local oscillator signal to the quadrature modulator, where the I and Q data are multiplied by the respective phase of the carrier and summed together, producing a quadrature-modulated data stream. This data stream is routed through Inverse SINC filter (optionally) and the output scaling multiplier and then applied to the 14-bit DAC which produces the quadrature-modulated analog output signal. Note: The profile and I/O_UPDATE pins are also synchronous to the PDCLK.
QUADRATURE MODULATION MODE
A block diagram of the AD9957 operating in the quadrature modulation mode is shown in Figure 3. In quadrature modulation mode, both I and Q data paths are active and the parallel data clock (PDCLK) serves to synchronize the input of I/Q data
IS 0
AD9957
1
Quadrature Modulator
DAC Gain cos( t+ ) 3 1 0 8
I
Inv. CCI
Halfband Filter s
(4x)
CC I
(1x -63x)
AUX DAC
(8-b)
DAC Rs et DAC
(14 -b)
PW 18
I/Q In
FTW
DDS
Iout Iout
0 1 2
Q
1 0
Inv. CCI
Halfband Filter s
(4x)
sin( t+ )
x sin(x)
OSF
CC I
(1x - 63x)
Inverse Sinc Filter
QS
0
TxEn
Inte rna l Clock Timing & Control
1
Clock Multiplier
1 2
Programming Registers
FTW 3 PW OSF 2
Seria l I/O Port
RA M
I Q IS QS
Po wer Down Control
2 2
Figure 3: Quadrature Modulation Mode
BLACKFIN INTERFACE MODE
A subset of the quadrature modulation mode is the BlackFin Interface (BFI) mode, which is shown in Figure 4. In this mode a separate I and Q serial bit stream is applied to the base band data port. The serial input provides for 16-bit I and Q words
(unlike parallel operation, which uses 18-bit words). The BlackFin Interface mode includes an additional pair of half band filters in both the I and Q signal paths, increasing the interpolation of the base band data by 4x relative to the normal quadrature modulation mode.
Rev. PrF | Page 10 of 38
0 2
PDClk
P arallel Da ta Tim ing & Cont rol
RefClk RefClk
PRELIMINARY TECHNICAL DATA
IS
AD9957
Quadrature Modulator
I In Q In
F O R M A T T E R
Halfband Filter s
(4x)
0
I
1
Inv. CCI
Halfband Filter s
(4x)
CCI
(1x -63x) cos( t+ ) PW 3 1
DAC Gain
8
AUX DAC
(8-b)
DAC Rs et DAC
(14 -b)
Fixed Interpolators
Programmable Interpolators
F TW
0
DDS
Iout Iout
0 1 2
sin( t+ )
x sin(x)
OSF
Halfband Filter s
(4x)
Q
1 0
Inv. CCI
Halfband Filter s
(4x)
CC I
(1x - 63x)
Inverse Sinc Filter
QS
0 SYSCL K
C lock M ode
TxEn
Inte rna l Clock Timing & Control
1
Clock Multiplier
1 2
Programming Regis ters
FTW 3 PW OSF 2
Seria l I/O Port
RA M
I Q IS QS
Po wer Down Control
2 2
CIC OFL
OS K
S ync In
Profile RegUD
Sync O ut
SReset CS
Figure 4: Quadrature Modulation Mode -- BlackFin Interface
SIGNAL PROCESSING (QDUC & BFI MODES)
To better understand the operation of the AD9957 it is helpful to follow the signal path in quadrature modulation mode from the parallel data port to the output of the DAC, examining the function of each block (refer to Figure 4). All timing within the AD9957 is provided by the internal system clock (SYSCLK) signal, which is generated from the timing source provided to the REFCLK pins.
TxEnable Pin
The rising edge of the TxENABLE signal is used to synchronize the device. While TxENABLE is in the Logic 0 state, the device ignores the data applied to the parallel port allowing the internal data path to be flushed by forcing zeros down the I and Q data pathways. On the rising edge of TxENABLE, the device is ready for the first I word. The first I word is latched into the device coincident with the rising edge of PDCLK. The next rising edge of PDCLK latches in a Q word, etc., until TxENABLE is set to a Logic 0 state by the user. It is important that the user ensure an even number of PDCLK intervals are observed during any given TxENABLE period. The device must capture both an I and a Q sample before the data is processed along the signal chain. In BFI mode, operation of the TxENABLE pin is similar except that instead of the rising edge marking the first "I word", it marks the first I (and Q) bit in a serial frame. It is important that the user ensure a multiple of 16 PDCLK cycles are observed during any given TxENABLE period. The device must capture a full 16-bit I and Q sample before the data is processed along the signal chain. The timing relationship between TxENABLE, PDCLK, and
PDCLK Pin
The timing of input data supplied to the AD9957 is easily facilitated with the PDCLK output pin, which serves as a data clock timing source. In QDUC mode, PDCLK controls the timing of the 18-bit parallel input port. In BFI mode, PDCLK controls the timing of the dual serial input port. The PDCLK is provided as a continuous clock (i.e., always active). However, even though the PDCLK output is active by default, it can be disabled via the Enable PDCLK bit in the register map. In QDUC mode, the AD9957 expects alternating I and Q data words at the parallel port (see Figure 5). Each rising edge of PDCLK captures one 16-bit word; that is, two PDCLK cycles per I/Q pair.. In BFI mode, the AD9957 expects two serial bit streams each segmented into 16-bit words with each rising edge of PDCLK indicating a new bit. In either case, the output clock rate is fDATA as explained in the Input Data Assembler section.
Rev. PrF | Page 11 of 38
PLL Lock
RES ET
SData SClk
P owe r Down
0 2
PDClk
Serial Data Timing and Control
RefClk RefClk
AD9957
DATA is shown in Figure 5 and Figure 6.
PRELIMINARY TECHNICAL DATA
TxENABLE
tDS
tDH
PDCLK D<13:0>
tDS
I0 Q0 I1 Q1 IN QN
tDH
Figure 5. 18-Bit Parallel Port Timing Diagram--Quadrature Modulation Mode
Table 3. Parallel Data Bus Timing
Symbol tDS tDH Definition Data Setup Time Data Hold Time Minimum 4 ns 0 ns
Figure 6: Dual Serial I/Q Bitstream Timing Diagram - BFI mode
Table 4: Serial Data Bus Timing Symbol tDS tDH Definition Data Setup Time Data Hold Time Minimum TBD TBD
Input Data Assembler
The input to the AD9957 is an 18-bit parallel data port in quadrature modulation mode (or a dual serial data port in the BFI mode). It is assumed that two consecutive 18-bit words represent the real (I) and imaginary (Q) parts of a complex number that has the form I+jQ. The 18-bit words are supplied to the input of the AD9957 at a rate of:
f DATA =
f SYSCLK 2R
When device is programmed to operate in BFI mode, the 18-bit parallel input is converted to a dual serial input. That is, one pin is assigned as the serial input for the "I" words and one pin is assigned as the serial input for the "Q" words. The other 16 pins are not used in the BFI mode. Furthermore, each I and Q word has 16-bit resolution (as compared with 18-bit resolution in the non-BFI mode). In BFI mode, fDATA is the bit rate of the I and Q data streams and is given by:
(QDUC mode)
f DATA =
Where fSYSCLK is the sample rate of the DAC and R is the interpolation factor of the programmable interpolation filter.
f SYSCLK R
(BFI mode)
Encoding and pulse shaping of symbols must be implemented before the data is presented to the input of the AD9957. Data
Rev. PrF | Page 12 of 38
01018-C-021
PRELIMINARY TECHNICAL DATA
delivered to the input of the AD9957 may be formatted as either twos-complement or unsigned binary (see the Data Format bit in the register map). Furthermore, in BFI mode, the order of the bit sequence can be set to either "MSB First" or "LSB First" (via the BlackFin Bit Order bit in the register map).
AD9957
Fixed interpolator (4x)
This block is a fixed 4x rate interpolator. It is implemented as a cascade of two half-band filters. Together, the two half-band filters provide a factor of four increase in the sampling rate, while preserving the spectrum of the base band signal applied at the input. Both half-band filters are linear phase filters, so that virtually no phase distortion is introduced within the pass band of the filters. Their combined insertion loss is 0.01 dB, thus preserving the relative amplitude of the input signal. The half-band filters are designed so that their composite performance yields a usable pass band of 40% of the input sample rate (0.2 on the frequency scale below). Within that pass band, the ripple does not exceed 0.002 dB. The stop band extends from 60% to 200% of the input sample rate (0.3 to 1.0 on the frequency scale) and offers a minimum of 85 dB attenuation. Figure 8 and Figure 9 show the composite response of the two half-band filters.
10 0 -10 -20 -30 -40 -50 -60 -70 -80 -90 -100 -110 -120 -140 0 0.2 0.4 0.6 0.8 1.0 1.2 FREQUENCY 1.4 1.6 1.8 2.0
01018-C-024
01018-C-025
Inverse CCI Filter
The inverse CCI (cascaded comb integrator) filter precompensates the data to offset the slight attenuation gradient imposed by the CCI filter (see the Programmable (2x to 63x) CCI Interpolating filter section). Data entering the first half-band filter occupies a maximum band width of one-half fIQ as defined by Nyquist (where fIQ is the sample rate at the input of the first half-band filter). This is shown graphically in Figure 7. If the CCI filter is employed, the inband attenuation gradient could pose a problem for those applications requiring an extremely flat pass band. For example, if the spectrum of the data as supplied to the AD9957 occupies a significant portion of the one-half fDATA region, the higher frequencies of the data spectrum receives slightly more attenuation than the lower frequencies (the worst-case overall droop from f=0 to 1/2fDATA is < 0.8 dB). The Inverse CCI filter has a response characteristic that is the inverse of the CCI filter response over the 1/2fIQ region.
0.2
0.3
SAMPLE RATE
-85
-130
Figure 8. Half-Band 1 and 2 Frequency Response; Frequency Relative to HB1 Output Sample Rate
0.010 0.008 0.006 0.004
Figure 7. CCI Filter Response
The product of the two responses yields in an extremely flat pass band (0.05 dB over the base band Nyquist band width), thereby eliminating the inband attenuation gradient introduced by the CCI filter. The cost is a slight attenuation of the input signal of approximately 0.5 dB for a CCI interpolation rate of 2 and 0.8 dB for interpolation rates of 3 to 63. The Inverse CCI filter can be bypassed using the appropriate bit in the register map. Even if it is enabled, it is automatically bypassed if the CCI interpolation rate is 1x. When the Inverse CCI filter is bypassed, power to the stage is turned off to reduce power consumption.
GAIN (dB)
0.002 0 -0.002 -0.004 -0.006 -0.008 -0.010 0 0.05 0.10 0.15 0.20 0.25 RELATIVE FREQUENCY (HB1 OUTPUT SAMPLE RATE = 1)
Figure 9. Combined Half-Band 1 and 2 Pass Band Detail; Frequency Relative to HB1 Output Sample Rate
Rev. PrF | Page 13 of 38
AD9957
Knowledge of the frequency response of the half-band filters is essential to understanding their impact on the spectral properties of the input signal. This is especially true when using the quadrature modulator to upconvert a base band signal containing complex data symbols that have been pulse shaped. To better understand this concept, consider that a complex symbol is represented by a real (I) and imaginary (Q) component. Thus, two digital words are required to represent a single complex sample of the form: I+jQ. The sample rate associated with a sequence of complex symbols will be referred to as fSYMBOL. If pulse shaping is applied to the symbols, then the sample rate must necessarily be increased by some integer factor, M (a consequence of the pulse shaping process). This new sample rate with be referred to as fIQ, and is related to the symbol rate by:
PRELIMINARY TECHNICAL DATA
Nyquist Band Width
Typical spectrum of a random symbol sequence
1/2fSYMBOL
fSYMBOL
2fSYMBOL
3fSYMBOL
f
Raised cosine spectral mask
=1 =0
= 0.5
Sample rate for 2x oversampled pulse shaping
1/2fSYMBOL
fSYMBOL
2fSYMBOL
4fSYMBOL
f
f IQ = Mf SYMBOL
Thus, fIQ is the rate at which complex samples must be supplied to the input of the first half-band filter in both the "I" and "Q" signal paths. NOTE: This rate is not to be confused with the rate at which parallel data is supplied to the AD9957( fDATA ), which is equal to 2fIQ. Typically, pulse shaping is applied to the base band symbols via a filter having a raised cosine response. In such cases, an excess band width factor () is used to modify the band width of the data where 0 1. A value of 0 causes the data band width to correspond to 1/2fSYMBOL, while a value of 1 causes the data band width to be extended to fSYMBOL. Figure 10 illustrates the relationship between , the band width of the raised cosine response, and the response of the first half-band filter.
Half-band filter response
Input sample rate of 1st half-band filter
Output sample rate of 1st half-band filter
0.4fIQ 1/2 fIQ
fIQ
2fIQ
f
Figure 10. Effect of the Excess Band width Factor ()
The responses in Figure 10 are shown for the specific case of M=2 (the interpolation factor for the pulse shaping operation). In cases for which M>2, the location of the fIQ point on the halfband response portion of the diagram shifts to the right, as it must remain aligned with the corresponding MfSYMBOL point on the frequency axis of the raised cosine spectral diagram. However, if fIQ shifts to the right, so does the half-band response, proportionally. The result is that the raised cosine spectral mask always lies within the flat portion (DC to 0.4fIQ) of the pass band response of the first half-band filter, regardless of the choice of so long as M>2. Therefore, for M>2, the first half-band filter has absolutely no negative impact on the spectrum of the base band signal when raised cosine pulse shaping is employed. However, for the case of M=2, a problem can arise. This is highlighted by the shaded area in the tail of the =1 trace on the raised cosine spectral mask diagram. Notice that this portion of the raised cosine spectral mask extends beyond the flat portion of the half-band response and will cause unwanted amplitude and phase distortion as the signal passes through the first half-band filter. To avoid this, simply ensure that 0.6 when M=2.
Programmable Interpolating Filter
The Programmable Interpolator is implemented as a CCI filter with a low-pass frequency characteristic. It is programmable by a 6-bit control word, giving a range of 2x to 63x interpolation. Rev. PrF | Page 14 of 38
PRELIMINARY TECHNICAL DATA
The Programmable Interpolator is bypassed when programmed for an interpolation factor of 1. When bypassed, power to the stage is removed and the Inverse CCI filter (see above) is also bypassed, because its compensation is not needed in this case. The output of the Programmable Interpolator is the data from the 4x interpolator further upsampled by the CCI filter, according to the rate chosen by the user. This results in the input data being upsampled by a factor of 8x to 252x in steps of 4. The transfer function of the CCI interpolating filter is
AD9957
I/Q data. The DDS output is tuned using registers accessed via the serial programming port. This allows for both precise tuning of the carrier frequency and the ability to change frequency instantaneously. The equation relating output frequency (fOUT) of the AD9957 digital modulator to the frequency tuning word (FTW) and the system clock (fSYSCLK) is
FTW f OUT = 32 2
f SYSCLK
(4)
R-1 H ( f ) = e - j(2 fk ) k =0
5
(1)
where FTW is a decimal number from 0 to 2,147,483,647 (231-1). Solving for FTW yields:
f FTW = round 232 OUT f SYSCLK
where R is the programmed interpolation factor, and f is the frequency relative to SYSCLK.
(5)
Quadrature Modulator
The digital quadrature modulator stage shifts the frequency of the base band spectrum of the incoming data stream up to the desired carrier frequency (this process is known as upconversion). At this point the base band data, which was delivered to the device at an I/Q sample rate of fIQ, has been upsampled to a rate equal to the frequency of SYSCLK, making the data sampling rate equal to the sampling rate of the carrier signal. The frequency of the carrier signal is controlled numerically by a Direct Digital Synthesizer (DDS). The DDS generates the desired carrier frequency from the internal reference clock (SYSCLK) very precisely. The carrier is applied to the I and Q multipliers in quadrature fashion (90 phase offset) and summed, yielding a data stream that represents the quadrature modulated carrier. The modulation is done digitally avoiding the phase offset, gain imbalance and crosstalk issues commonly associated with analog modulators. Note that the modulated "signal" is a number stream sampled at the rate of SYSCLK, the same rate at which the DAC is clocked. The orientation of the modulated signal with respect to the carrier is controlled by a spectral invert bit. This bit resides in each of the four profile registers. By default, the time domain output of the quadrature modulator takes the form:
I (t ) x cos (t ) - Q(t ) x sin (t )
The round() function means to round the result to the nearest integer. For example, for fOUT = 41 MHz and fSYSCLK = 122.88 MHz, then FTW = 1,433,053,867 (556AAAAB hex).
Inverse SINC Filter
The sampled carrier data stream is the input to the digital-toanalog converter (DAC) integrated onto the AD9957. The DAC output spectrum is shaped by the characteristic sin(x)/x (or SINC) envelope, due to the intrinsic zero-order hold effect associated with DAC-generated signals. The SINC envelope is well known and can be compensated for. This envelope restoration function is provided by the Inverse SINC filter that precedes the DAC. By default, the filter is bypassed. It is enabled via a bit in the register map. The inverse SINC function is implemented as an FIR filter. It's response characteristic is the exact inverse of the SINC response. The Inverse SINC filter predistorts the data prior to its arrival at the DAC. The correction is only accurate for output frequencies up to approximately 40% of SYSCLK. NOTE: The inverse SINC filter exhibits ~3.5dB of insersion loss.
Output Scale Factor (OSF)
Output amplitude is controlled using an 8-bit digital multiplier. The 8-bit multiplier value is called the Output Scale Factor (OSF) and is programmed via the appropriate control registers. It is available for each of the eight profiles. The LSB weight is 2- 7 , which yields a multiplier range of 0 to 1.9921875 (2-2-7). The gain extends to nearly a factor of 2 to provide a means to overcome the intrinsic loss through the modulator when operating in the quadrature modulation mode. NOTE: Programming the 8-bit multiplier to unity gain (80h) bypasses the stage and reduces power consumption.
(2)
When the spectral invert bit asserted, it becomes:
I (t ) x cos (t ) + Q(t ) x sin (t )
(3)
DDS Core
The Direct Digital Synthesizer (DDS) block generates the sine and cosine carrier reference signals that digitally modulate the
14-Bit DAC
The AD9957 incorporates an integrated 14-bit current-output DAC. The output current is delivered as a balanced signal using
Rev. PrF | Page 15 of 38
AD9957
two outputs. The use of balanced outputs reduces the amount of common-mode noise at the DAC output, increasing signal-tonoise ratio. An external resistor (RSET) connected between the DAC_RSET pin and the DAC ground (AGND_DAC) establishes a reference current. The full-scale output current of the DAC (IOUT) is produced as a scaled version of the reference current (see the Auxiliary DAC section that follows). Proper attention should be paid to the load termination to keep the output voltage within the specified compliance range, as voltages developed beyond this range will cause excessive distortion and might even damage the DAC output circuitry.
PRELIMINARY TECHNICAL DATA
the appropriate register map location sets IOUT according to the following equation:
I OUT = 86.4 CODE 1 + RSET 96
(6)
Where RSET is the value of the RSET resistor (in ohms) and CODE is the 8-bit value supplied to the auxiliary DAC (default is 127). For example, with RSET=10,000 and CODE=127, then IOUT=20.07mA.
INTERPOLATING DAC MODE
A block diagram of the AD9957 operating in the interpolating DAC mode is shown in Figure 11; grayed out items are inactive. In this mode, the Q data path, DDS and modulator are all disabled; only the I data path is active.
Auxiliary DAC
The full scale output current of the main DAC (IOUT) is controlled by an 8-bit auxiliary DAC. An 8-bit code word stored in
AD9957: Interpolating DAC Mode
I
0 1
Inv. CCI
Halfband Filters
(4x)
CCI
(1x -63x)
DAC Gain
8
AUX DAC
(8-b)
De-Interleaver
I
F PW 1 0
cos(t+) 1 0
3 1 0
DAC Rset DAC
(14-b)
18
I/Q In
DDS
sin(t+) FTW Freq. Ramp Logic R 1 0
Iout Iout
0 1 2
Q Inv. CCI Halfband Filters
(4x)
x sin(x)
CCI
(1x -63x) R
OSF
Clock Mode
TxEn
Internal Clock Timing & Control
0 1 Clock Multiplier
Programming Registers
3 2
Serial I/O Port
RAM
IQGF
Power Down Control
2 2
Profile
PLL Lock
SData SClk
RegUD
SReset CS
OSK
Sync Out
CCI OFL
Sync In
Figure 11: Interpolating DAC Mode
As in the quadrature modulation mode, the PDCLK pin functions as a clock which serves to synchronize the input of data to the AD9957. The PDCLK rate is given below. Note that it operates at a rate that is half of that for the quadrature modulation mode.
interpolation rate. The interpolation hardware processes the signal, by effectively performing an over-sample with zerostuffing operation. However, the original input spectrum remains intact and the images that would otherwise occur from the sample rate conversion process are suppressed by the interpolation signal chain. The PDCLK pin is an output and serves as a data clock timing source. The output clock rate is fDATA as explained in the Input Data Assembler section. Each PDCLK rising edge latches a data word into the I data path.
f DATA =
f SYSCLK 4R
(Interpolating DAC mode)
Because no modulation takes place, the spectrum of the data supplied at the parallel port remains at base band. However, a sample rate conversion takes place based on the programmed
Rev. PrF | Page 16 of 38
RESET
Power Down
0 1 2 2
PDClk
Parallel Data Timing & Control
RefClk RefClk
PRELIMINARY TECHNICAL DATA
The timing relationship between TxENABLE, PDCLK, and DATA is shown in Figure 12.
AD9957
TxENABLE
tDS
tDH
PDCLK D<13:0>
tDS
I0 I1 I2 I3 IK - 1 IK
tDH
Figure 12. 18-Bit Parallel Port Timing Diagram--Interpolating DAC Mode
SINGLE-TONE MODE
I
0 1
AD9957: Single-Tone Mode
Inv. CCI Halfband Filters
(4x)
CCI
(1x -63x)
DAC Gain
8
AUX DAC
(8-b)
De-Interleaver
I
F 1 0
PW
cos(t+) 1 0
3 1 0
DAC Rset DAC
(14-b)
18
I/Q In
DDS Q
R 1 0 sin(t+) FTW Freq. Ramp Logic
Iout Iout
0 1 2
x sin(x)
Inv. CCI
Halfband Filters
(4x)
CCI
(1x - 63x) R
Q
SYSCLK
Clock Mode
TxEn
Internal Clock Timing & Control
0 1 Clock Multiplier
Programming Registers
3 2
Serial I/O Port
RAM
IQGF
Power Down Control
2 2
SReset CS
Profile
SData SClk
OSK Sweep
PLL Lock
CCI OFL
Sync Out
Sync In
RegUD
Figure 13: Single-Tone Mode
A block diagram of the AD9957 operating in the single-tone mode is shown in Figure 13; grayed out items are inactive. In this mode, both I and Q data paths are disabled from the 18-bit parallel data port up to and including the modulator. The internal DDS core produces a signal whose frequency depends on the programmed tuning word. The user may select either the cosine (default) or sine output of the DDS. The sinusoid at the DDS output can be scaled via a 14-bit amplitude scale factor (ASF) and optionally routed through the Inverse SINC filter.
plier range of 0 to 1.99993896484375 (1-2-14). In addition to the ability to generate single tone signals in this mode, the AD9957 can also provide 2-, 4-, or 8-level modulation of frequency, phase, or amplitude by means of the eight available profile registers and the Profile<0:2> pins.
I/O_UPDATE Pin
In the single-tone mode, the I/O_UPDATE pin serves as a signal update strobe. Frequency, phase and amplitude control words for the DDS are programmed via the serial port (see the Control Register description). The serial port is an asynchronous interface; the I/O_UPDATE pin allows for synchronization of the AD9957 output with external circuitry when new frequency, phase, or amplitude values are programmed into the on-chip profile registers. A rising edge initiates transfer of the
Amplitude Scale Factor (ASF)
Output amplitude is controlled by a 14-bit digital multiplier called the Amplitude Scale Factor (ASF), which is programmed via the appropriate control registers. It is available for each of the eight profiles. The LSB weight is 2-14, which yields a multi-
Rev. PrF | Page 17 of 38
RESET
Power Down
0
PDClk
Parallel Data Timing & Control
1 2
2
RefClk RefClk
01018-C-022
AD9957
programmed data for the selected profile (see the Profile section), thus resuming the frequency synthesis process with the new values. NOTE: The transfer of programmed data from the
PRELIMINARY TECHNICAL DATA
programming registers to the internal hardware is also accomplished by switching between profiles.
Rev. PrF | Page 18 of 38
PRELIMINARY TECHNICAL DATA
REFCLK INPUT
The AD9957 supports a few methods for generating the internal system clock. An on-chip oscillator circuit is available for initiating a low frequency reference signal by connecting a crystal to the clock input pins. The system clock may also be generated using the internal, PLL-based reference clock multiplier, allowing the part to operate with a low frequency clock source while still providing a high update rate for the DDS and DAC. Using the clock multiplier can impact the output phase noise characteristics - for best phase noise performance, a clean, stable clock with a high slew is required. A clock of frequency higher than the maximum allowable clock rate can be used if the REFCLK input divide by 2 is enabled using the REFCLK input divider enable bit CFR3<15>.
AD9957
must be selected. The VCO range is selected by programming the VCO SEL bits, CFR3 <26:24>.. The charge pump current is programmed through the ICP bits, CFR3<21:19>. See the register map for Tables showing the available settings Whenever the PLL clock multiplier is enabled or the multiplication value changed, the PLL must reacquire lock. Once lock is achieved, the LOCK_DETECT signal will be output on pin 19. While the PLL is out of lock, transmission in the QDUC is gated off.
REFCLK PLL WITH CRYSTAL
The on-chip oscillator for crystal operation is enabled using XTAL_SEL (pin 95). The XTAL_SEL pin is an analog input, operating on 1.8V logic. With the on-chip oscillator enabled, connecting an external crystal across the REF_CLK and REF_CLKB inputs produces a low frequency reference clock. The range of frequencies supported is listed in the specification table. A buffer outputs a regenerated REFCLK/crystal oscillator signal on the XTAL_OUT pin (pin 94). Harmonic interference effects may be mitigated using DRV slew rate control bits CFR3<31:30>. Table 5 summarizes the clock mode options. See the Register Table/Map section for more detail.
System Clock (fSYS CLK) fSYS CLK = fOSC x M fSYS CLK = FOSC fSYS CLK = FREF CLK x M fSYS CLK = FREF CLK
REFCLK PLL
Enabling the PLL (via the PLL Enable Bit, CFR3<8>) allows multiplication of the reference clock frequency. The multiplication factor in the clock multiplier is set by bits CFR3 <7:1> with values ranging from 8 to 10 and 12 to 127 (decimal). Programming CFR3<7:1> for values less than 8 or 11 is not valid and will cause unpredictable device performance. The system clock rate with the clock multiplier enabled is equal to the reference clock rate times the multiplication factor. When using the clock multiplier, the correct VCO and charge pump current
XTAL_SEL Pin (95)
High = 1.8 V logic High = 1.8 V logic Low Low
CFR1<7:1> PLL, Bits = M 12 M 127, or 8 M 10 M < 8, M=11, or M > 127 12 M 127 or 8 M 10 M < 8, M=11, or M > 127
PLL Enabled (CFR3<15> Yes CFR3<15>=1 No Yes CFR3<15> = 1 No
Min/Max Freq. Range (MHz) 500 < fSYSCLK < 1000 20 < fSYSCLK < 30 500 < fSYSCLK < 1000 0 < fSYS CLK < 1000
Table 5 Clock Mode Options
REFCLK: EXTERNAL INTERFACE
The reference clock input circuitry has two modes of operation. The first mode configures it as an input buffer. In this mode, the reference clock must be ac-coupled to the input due to internal dc biasing. This mode supports either differential or singleended configurations. If single-ended mode is desired, CLKB (Pin 91) should be decoupled to AVDD or AGND via a 0.1 F capacitor. The next three figures exemplify common reference clock configurations for the AD9957.
REFERENCE CLOCK SOURCE
1:1 BALUN
0.1F 50 0.1F
CLK PIN 90 CLK PIN 91
05252-032
Figure 14
The reference clock inputs can also support an LVPECL or PECL driver as the reference clock source.
Rev. PrF | Page 19 of 38
AD9957
0.1F LVPECL/ PECL DRIVER TERMINATION 0.1F CLK PIN 91
05252-033
PRELIMINARY TECHNICAL DATA
CLK PIN 90 25MHz XTAL 22pF 22pF CLK PIN 90 CLK PIN 91
Figure 15
For external crystal operation, both clock inputs must be dccoupled via the crystal leads and bypassed. Figure 16 shows the configuration for using a crystal.
05252-034
Figure 16
Rev. PrF | Page 20 of 38
PRELIMINARY TECHNICAL DATA
SERIAL PROGRAMMING
CONTROL INTERFACE--SERIAL I/O
The AD9957 serial port is a flexible, synchronous serial communications port allowing easy interface to many industry standard microcontrollers and microprocessors. The serial I/O is compatible with most synchronous transfer formats, including both the Motorola 6905/11 SPI and Intel 8051 SSR protocols. The interface allows read/write access to all registers that configure the AD9957. MSB first or LSB first transfer formats are supported. In addition, the AD9957's serial interface port can be configured as a single pin I/O (SDIO), which allows a two-wire interface or two unidirectional pins for in/out (SDIO/SDO), which enables a three wire interface. Two optional pins (IORESET and CSB) enable greater flexibility for system design-in of the AD9957. With the AD9957, the Instruction Byte specifies read/write operation and register address. Serial operations on the AD9957 occur only at the register level, not the byte level due to the lack of byte address space in the Instruction Byte. For the AD9957, the serial port controller recognizes the register address in the Instruction Byte and expects that all bytes of that register will be accessed, otherwise, the serial port controller will be out of sequence for the next write routine. However, one way to write less bytes than required is to use the IORESET feature. The IORESET function can be used to abort an IO operation and reset the pointer in the serial port controller. After an IORESET, the next byte will be the instruction byte. Every byte that is written prior to the IORESET is preserved. Partial bytes are not preserved.
AD9957
There are two phases to a communication cycle with the AD9957. Phase 1 is the instruction cycle, which is the writing of an instruction byte into the AD9957, coincident with the first eight SCLK rising edges. The instruction byte provides the AD9957 serial port controller with information regarding the data transfer cycle, which is Phase 2 of the communication cycle. The Phase 1 instruction byte defines whether the upcoming data transfer is read or write and the serial address of the register being accessed The first eight SCLK rising edges of each communication cycle are used to write the instruction byte into the AD9957. The remaining SCLK edges are for Phase 2 of the communication cycle. Phase 2 is the actual data transfer between the AD9957 and the system controller. The number of bytes transferred during Phase 2 of the communication cycle is a function of the register being accessed. For example, when accessing the Control Function Register #2, which is four bytes wide, Phase 2 requires that four bytes be transferred. If accessing the Amplitude Scale Factor Register, which is two bytes wide, Phase 2 requires that two bytes be transferred. After transferring all data bytes per the instruction, the communication cycle is completed. At the completion of any communication cycle, the AD9957 serial port controller expects the next 8 rising SCLK edges to be the instruction byte of the next communication cycle. All data input to the AD9957 is registered on the rising edge of SCLK. All data is driven out of the AD9957 on the falling edge of SCLK. The Figures below are useful in understanding the general operation of the AD9957 Serial Port.
GENERAL OPERATION OF THE SERIAL INTERFACE
INSTRUCTION CYCLE CS
DATA TRANSFER CYCLE
SCLK I7 I6 I5 I4 I3 I2 I1 I0 D7 D6 D5 D4 D3 D2 D1 D0
01018-C-029
SDIO
Serial Port Writing Timing--Clock Stall Low
INSTRUCTION CYCLE CS
DATA TRANSFER CYCLE
SCLK I7 I6 I5 I4 I3 I2 I1 I0 DO7 DO6 DO5
SDIO
DON'T CARE DO4 DO3 DO2 DO1 DO0
01018-C-030
SDO
Rev. PrF | Page 21 of 38
AD9957
PRELIMINARY TECHNICAL DATA
3-Wire Serial Port Read Timing--Clock Stall Low
INSTRUCTION CYCLE CS
DATA TRANSFER CYCLE
SCLK
01018-C-031
SDIO
I7
I6
I5
I4
I3
I2
I1
I0
D7
D6
D5
D4
D3
D2
D1
D0
Serial Port Write Timing--Clock Stall High
INSTRUCTION CYCLE CS
DATA TRANSFER CYCLE
SCLK I7 I6 I5 I4 I3 I2 I1 I0 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
01018-C-032
SDIO
2-Wire Serial Port Read Timing--Clock Stall High
INSTRUCTION BYTE
The instruction byte contains the following information as shown in the table below: Instruction Byte Information MSB R/W b D6 x D5 x D4 A4 D3 A3 D2 A2 D1 A1 LSB A0
SDIO -- Serial Data I/O. Data is always written into the AD9957/10 on this pin. However, this pin can be used as a bidirectional data line. Bit 7 of register address 0h controls the configuration of this pin. The default is logic zero, which configures the SDIO pin as bi-directional. SDO -- Serial Data Out. Data is read from this pin for protocols that use separate lines for transmitting and receiving data. In the case where the AD9957/10 operates in a single bi-directional I/O mode, this pin does not output data and is set to a high impedance state. IORESET -- Synchronizes the I/O port state machines without affecting the addressable registers contents. An active high input on the IORESET pin causes the current communication cycle to abort. After IORESET returns low (Logic 0) another communication cycle may begin, starting with the instruction byte write.
R/-Wb--Bit 7 of the instruction byte determines whether a read or write data transfer will occur after the instruction byte write. Logic high indicates read operation. Logic zero indicates a write operation. X, X--Bits 6 and 5 of the instruction byte are don't care. A4, A3, A2, A1, A0--Bits 4, 3, 2, 1, 0 of the instruction byte determine which register is accessed during the data transfer portion of the communications cycle.
MSB/LSB TRANSFERS
The AD9957/10 serial port can support both most significant bit (MSB) first or least significant bit (LSB) first data formats. This functionality is controlled by the Control Function Register #1 <0> bit. The default value of Control Function Register #1 <0> bit is low (MSB first). When Control Function Register #1 <0> bit is set high, the AD9957/10 serial port is in LSB first format. The instruction byte must be written in the format indicated by Control Function Register #1 <0> bit. That is, if the AD9957/10 is in LSB first mode, the instruction byte must be written from least significant bit to most significant bit. For MSB first operation, the serial port controller will generate the most significant byte (of the specified register) address first followed by the next lesser significant byte addresses until the IO op-
SERIAL INTERFACE PORT PIN DESCRIPTION
SCLK -- Serial Clock. The serial clock pin is used to synchronize data to and from the AD9957/10 and to run the internal state machines. SCLK maximum frequency is 10 MHz. CSB -- Chip Select Bar. Active low input that allows more than one device on the same serial communications line. The SDO and SDIO pins will go to a high impedance state when this input is high. If driven high during any communications cycle, that cycle is suspended until CS is reactivated low. Chip Select can be tied low in systems that maintain control of SCLK.
Rev. PrF | Page 22 of 38
PRELIMINARY TECHNICAL DATA
eration is complete. All data written to (read from) the AD9957/10 must be (will be) in MSB first order. If the LSB mode is active, the serial port controller will generate the least significant byte address first followed by the next greater significant byte addresses until the IO operation is complete. All data written to (read from) the AD9957/10 must be (will be) in LSB first order.
AD9957
tiplies the baseband data by nearly 1.0 (0.FFFF equates to .99985). Invoke the input Data Scaling Mode using the RAM enable bit and the RAM QDUC Evaluation bit, while in QDUC or interpolating DAC mode. The Input Scale Factor Control (ISFC) pin is used to start and stop the RAM controller. Two 48-bit registers are dedicated for controlling the RAM segmentation and ramp rates. See the QDUC RAM Segment #0 (QRSR0) and the QDUC RAM Segment #1 (QRSR1) registers in the register map. I AND Q INPUT DATA FROM RAM In the QDUC mode, the RAM can be configured to supply IQ data. The RAM is partitioned as two 16-bit words. The two words are routed to the baseband data pathway.
RAM IO VIA SERIAL PORT
Accessing the RAM via the serial port is identical to any other serial IO operation except that the number of bytes transferred is determined by the address space between the beginning address and the final address as specified in the current RAM Segment Control Word (RSCW). The final address describes the most significant word address for all IO transfers and the beginning address specifies the least significant address. RAM IO supports MSB/LSB first operation. When in MSB first mode, the first data byte will be for the most significant byte of the memory address described by the final address with the remaining three bytes making up the lesser significant bytes of that address. The remaining bytes come in most significant to least significant, destined for RAM addresses generated in descending order until the final four bytes are written into the address specified as the beginning address. When in LSB first mode, the first data byte will be for the least significant byte of the memory (specified by the beginning address) with the remaining three bytes making up the greater significant bytes of that address. The remaining bytes come in least significant to most significant, destined for RAM addresses generated in ascending order until the final four bytes are written into the memory address described by the final address. Of course, the bit order for all bytes is least significant to most significant first when in the LSB first bit is set. When the LSB first bit is cleared (default) the bit order for all bytes is most significant to least significant.
One word is routed to the "I" channel and the other word is routed to the "Q" channel. This will allow the user to easily generate a customized modulation waveform composed of up to 1024 I/Q samples without the need for external support circuitry to supply data to the parallel input port. This feature is an attempt to simplify the user's design/debug process when the device is incorporated into a new product design.
Synchronizing Multiple AD9957s Devices
The AD9957 product includes circuitry that enables multiple AD9957 products to be automatically synchronized to one another. Multiple devices are considered synchronized when the state of the clock generation state machines are identical for all parts. Multiple part synchronization can be achieved by a simple connection of LVDS outputs on the master device to the LVDS inputs of the slave device(s). Devices are configured as master and slaves through programming bits, accessible via the serial port.
RAM CONTROL MODES
BASEBAND INPUT SCALING WITH RAM In QDUC and DAC interpolation modes, the baseband data may be scaled via the 18x16 bit multiplier(s)(IS,QS), whose multiplicand is driven by the RAM. This function offers the customer a means of performing an arbitrary amplitude ramp up/down of the baseband data. The ramp profile is generated at the input sample rate and interpolated up to the DAC sample rate through the baseband signal chain in the same manner as the I/Q data, significantly reducing power dissipation. In this configuration, the 32-bit RAM words are partitioned into two 16-bit words. The data being used as a scale factor for the I/Q words supplied by the user to the 18-bit parallel port. The RAM words are accessed at the IQ sample rate (output rate of the data assembler logic). The scale factor, driven from the RAM, is an unsigned value. All zeros multiplies the baseband data by 0 (decimal) and FFFFh mul-
Pipeline Matching of the FTW, Phase Offset, and Output Scaling
The AD9957 offers a feature that enables the simultaneous application of changes in frequency, phase and amplitude to be applied in a manner that allows these parameters to be synchronized to the specific pipe delays of the preceding logic blocks. This feature is controllable via the serial port and is activated by writing the Match Pipe Delays Active bit to a logic one.
Output Shaped On-Off Keying modes
Auto and Manual shaped On-Off keying modes are supported. AUTO mode generates a linear scale factor at a rate determined by the Amplitude Ramp Rate Register (ARR), controlled by an external pin (OSK). MANUAL mode allows the user to directly control the output amplitude by writing the scale factor value into the Amplitude Scale Factor Register (ASFR).
Rev. PrF | Page 23 of 38
AD9957
REGISTER MAP AND DESCRIPTIONS
REGISTER MAP
Register Name (Serial Address) Control Function Register 1 CFR1 (00h) <15:8> Bit Range Bit 7 (MSB) Bit 6 Bit 5 Bit4 Bit 3
PRELIMINARY TECHNICAL DATA
Bit 2
Bit 1
Bit 0 (LSB)
Default Value OR Profile 00h
<31:24>
RAM Enable Manual OSK External Control
OPEN
RAM QDUC Evaluation Clear CCI
OPEN
QDUC Operating Mode
<23:16>
Inverse Sinc Filter Enable
Internal Profile Control
Enable Sine Output
00h
OPEN
Auto-Clear Phase Accum
OPEN
Clear Phase Accum
Load ARR @ I/O update
Output Shaped Keying Enable SDIO Input Only
Auto Output Shaped Keying LSB First
00h
<7:0>
Digital Power Down
DAC Power Down
Clock Input Power Down Black Fin Early Frame Sync Enable
Aux DAC Power Down
External Power Down Mode
Auto Power Down Enable OPEN
00h
Control Function Register 2 (CFR2) (01h)
<31:24>
BlackFin Interface Mode Active
BlackFin Bit Order
00h
<23:16>
Internal IO Update Active
Enable IO Update Clock
OPEN
Read Effective FTW
40h
<15:8>
IO Update Rate Control
PDCLK Rate Control Sync Sample Error Mask
Data Format
Enable PDCLK
PDCLK Clock Invert
TxEnable Invert
Q First Data Pairing
08h
<7:0>
Matched Latency Enable
Data Assembler Hold Last Value
OPEN
FM Gain
20h
Control Function Register 3 (CFR3) (02h)
<31:24> <23:16> <15:8>
DRV0<1:0> OPEN REFCLK Input Divider Disable
OPEN ICP<2:0> OPEN
VCO SEL <2:0> OPEN PLL Enable
1Fh 3Fh 40h
<7:0> Auxilliary DAC Control Register (03h) <31:24> <23:16> <15:8> <7:0>
N:<6:0> OPEN OPEN OPEN FSC<7:0>
OPEN
00h 00h 00h 00h FFh
Rev. PrF | Page 24 of 38
PRELIMINARY TECHNICAL DATA
AD9957
Register Name (Serial Address) IO Update Rate Register (04h)
Bit Range (Internal Address)
Bit 7 (MSB)
Bit 6
Bit5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Default Value OR Profile
<31:24> <23:16> <15:8> <7:0>
IO Update Rate <31:24> IO Update Rate <23:16> IO Update Rate <15:8> IO Update Rate <7:0> RAM Segment 0 Address Ramp Rate <15:8> RAM Segment 0 Address Ramp Rate <7:0> RAM Segment 0 Final Address <9:2> RAM Segment 0 Final Address <1:0> OPEN
FFh FFh FFh FFh ISFC0 ISFC0 ISFC0 ISFC0
QDUC RAM Segment Register #0 (05h)
<47:40> <39:32> <31:24> <23:16>
<15:8> <7:0> RAM Segment 0 Beginning Address <1:0>
RAM Segment 0 Beginning Address <9:2> OPEN RAM Segment 0 Mode Control <2:0>
ISFC0 ISFC0
QDUC RAM Segment Register #1 (06h)
<47:40> <39:32> <31:24> <23:16> RAM Segment 1 Final Address <1:0>
RAM Segment 1 Address Ramp Rate <15:8> RAM Segment 1 Address Ramp Rate <7:0> RAM Segment 1 Final Address <9:2> OPEN
ISFC1 ISFC1 ISFC1 ISFC1
<15:8> <7:0> RAM Segment 1 Beginning Address <1:0>
RAM Segment 1 Beginning Address <9:2> OPEN RAM Segment 1 Mode Control <2:0>
ISFC1 ISFC1
FTW Register (07h)
<31:24> <23:16> <15:8> <7:0>
Frequency Tuning Word <31:24> Frequency Tuning Word <23:16> Frequency Tuning Word <15:8> Frequency Tuning Word <7:0> Phase Offset Word <15:8> Phase Offset Word <7:0> Amplitude Ramp Rate <15:8> Amplitude Ramp Rate <7:0> Amplitude Scale Factor <13:6> Amplitude Scale Factor <5:0> Amplitude Ramp Rate Speed Control <1:0>
00h 00h 00h 00h 00h 00h 00h 00h 00h 00h
POW Register (08h) ASF Register (09h)
<15:8> <7:0> <31:24> <23:16> <15:8> <7:0>
Rev. PrF | Page 25 of 38
AD9957
PRELIMINARY TECHNICAL DATA
Register Name (Serial Address) Multi-Chip Sync Register (0Ah)
Bit Range (Internal Address)
Bit 7 (MSB)
Bit 6
Bit5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Default Value
<31:24>
Sync Window Delay <3:0>
Sync Enable
Sync Driver Enable
Sync Polarity
Internal Sync Loop Enable OPEN
00h
<23:16> <15:8> <7:0> <23:16> <15:8> <7:0> QDUC Profile 0 Register <63:56>
System Clock Offset<5:0> Output Sync Pulse Delay <4:0> Input Sync Pulse Delay <4:0> Falling Sweep Ramp Rate Word <7:0> Rising Sweep Ramp Rate Word <15:8> Rising Sweep Ramp Rate Word <7:0> CCI Interpolation Rate Spectral Invert OPEN OPEN
00h 00h 00h 00h 00h 00h
Inverse CCI Bypass
000
<55:48> (0Eh) <47:40> <39:32> <31:24> <23:16> <15:8> <7:0> QDUC Profile 1 Register <63:56>
Output Scale Factor #0 Phase Offset Word #0 <15:8> Phase Offset Word #0 <7:0> Frequency Tuning Word #0 <31:24> Frequency Tuning Word #0 <23:16> Frequency Tuning Word #0 <15:8> Frequency Tuning Word #0 <7:0> CCI Interpolation Rate Spectral Invert Inverse CCI Bypass
000 000 000 000 000 000 000 001
<55:48> (0Fh) <47:40> <39:32> <31:24> <23:16> <15:8> <7:0>
Output Scale Factor #1 Phase Offset Word # 1 <15:8> Phase Offset Word #1 <7:0> Frequency Tuning Word #1 <31:24> Frequency Tuning Word #1 <23:16> Frequency Tuning Word #1 <15:8> Frequency Tuning Word #1 <7:0>
001 001 001 001 001 001 001
Rev. PrF | Page 26 of 38
PRELIMINARY TECHNICAL DATA
AD9957
Register Name (Serial Address) QDUC Profile 2 Register
Bit Range (Internal Address)
Bit 7 (MSB)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Profile Pins (PS2 >PS0)
<63:56>
CCI Interpolation Rate
Spectral Invert
Inverse CCI Bypass
010
<55:48> (10h) <47:40> <39:32> <31:24> <23:16> <15:8> <7:0> QDUC Profile 3 Register <63:56>
Output Scale Factor #2 Phase Offset Word #2 <15:8> Phase Offset Word #2 <7:0> Frequency Tuning Word #2 <31:24> Frequency Tuning Word #2 <23:16> Frequency Tuning Word #2 <15:8> Frequency Tuning Word #2 <7:0> CCI Interpolation Rate Spectral Invert Inverse CCI Bypass
010 010 010 010 010 010 010 011
<55:48> (11h) <47:40> <39:32> <31:24> <23:16> <15:8> <7:0> QDUC Profile 4 Register <63:56>
Output Scale Factor #3 Phase Offset Word # 3 <15:8> Phase Offset Word #3 <7:0> Frequency Tuning Word #3 <31:24> Frequency Tuning Word #3 <23:16> Frequency Tuning Word #3 <15:8> Frequency Tuning Word #3 <7:0> CCI Interpolation Rate Spectral Invert Inverse CCI Bypass
011 011 011 011 011 011 011 100
<55:48> (12h) <47:40> <39:32> <31:24> <23:16> <15:8> <7:0>
Output Scale Factor #4 Phase Offset Word #4 <15:8> Phase Offset Word #4 <7:0> Frequency Tuning Word #4 <31:24> Frequency Tuning Word #4 <23:16> Frequency Tuning Word #4 <15:8> Frequency Tuning Word #4 <7:0>
100 100 100 100 100 100 100
Rev. PrF | Page 27 of 38
AD9957
Register Name (Serial Address) QDUC Profile 5 Register Bit Range (Internal Address) Bit 7 (MSB) Bit 6 Bit 5 Bit 4 Bit 3
PRELIMINARY TECHNICAL DATA
Bit 2 Bit 1 Bit 0 Profile Pins (PS2 >PS0)
<63:56>
CCI Interpolation Rate
Spectral Invert
Inverse CCI Bypass
101
<55:48> (13h) <47:40> <39:32> <31:24> <23:16> <15:8> <7:0> QDUC Profile 6 Register <63:56>
Output Scale Factor #5 Phase Offset Word # 5 <15:8> Phase Offset Word #5 <7:0> Frequency Tuning Word #5 <31:24> Frequency Tuning Word #5 <23:16> Frequency Tuning Word #5 <15:8> Frequency Tuning Word #5 <7:0> CCI Interpolation Rate Spectral Invert Inverse CCI Bypass
101 101 101 101 101 101 101 110
<55:48> (14h) <47:40> <39:32> <31:24> <23:16> <15:8> <7:0> QDUC Profile 7 Register <63:56>
Output Scale Factor #6 Phase Offset Word #6 <15:8> Phase Offset Word #6 <7:0> Frequency Tuning Word #6 <31:24> Frequency Tuning Word #6 <23:16> Frequency Tuning Word #6 <15:8> Frequency Tuning Word #6 <7:0> CCI Interpolation Rate Spectral Invert Inverse CCI Bypass
110 110 110 110 110 110 110 111
<55:48> (15h) <47:40> <39:32> <31:24> <23:16> <15:8> <7:0>
Output Scale Factor #7 Phase Offset Word # 7 <15:8> Phase Offset Word #7 <7:0> Frequency Tuning Word #7 <31:24> Frequency Tuning Word #7 <23:16> Frequency Tuning Word #7 <15:8> Frequency Tuning Word #7 <7:0>
111 111 111 111 111 111 111
Rev. PrF | Page 28 of 38
PRELIMINARY TECHNICAL DATA
AD9957
Register Name (Serial Address) RAM (16h) QDUC Single Tone Profile 0 Register (0Eh)
Bit Range (Internal Address)
Bit 7 (MSB)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Profile Pins (PS2 >PS0)
<31:0> <63:56> <55:48> <47:40> <39:32> <31:24> <23:16> <15:8> <7:0> OPEN
RAM [1023:0] <31:0> Amplitude Scale Factor #0 <13:8> Amplitude Scale Factor #0 <7:0> Phase Offset Word #0 <15:8> Phase Offset Word #0 <7:0> Frequency Tuning Word #0 <31:24> Frequency Tuning Word #0 <23:16> Frequency Tuning Word #0 <15:8> Frequency Tuning Word #0 <7:0> OPEN Amplitude Scale Factor #1 <13:8> Amplitude Scale Factor #1 <7:0> Phase Offset Word #1 <15:8> Phase Offset Word #1 <7:0> Frequency Tuning Word #1 <31:24> Frequency Tuning Word #1 <23:16> Frequency Tuning Word #1 <15:8> Frequency Tuning Word #1 <7:0> OPEN Amplitude Scale Factor #2 <13:8> Amplitude Scale Factor #2 <7:0> Phase Offset Word #2 <15:8> Phase Offset Word #2 <7:0> Frequency Tuning Word #2 <31:24> Frequency Tuning Word #2 <23:16> Frequency Tuning Word #2 <15:8> Frequency Tuning Word #2 <7:0>
*** 000 000 000 000 000 000 000 000 001 001 001 001 001 001 001 001 010 010 010 010 010 010 010 010
QDUC Single Tone Profile 1 Register (0Fh)
<63:56> <55:48> <47:40> <39:32> <31:24> <23:16> <15:8> <7:0>
QDUC Single Tone Profile 2 Register (10h)
<63:56> <55:48> <47:40> <39:32> <31:24> <23:16> <15:8> <7:0>
Rev. PrF | Page 29 of 38
AD9957
PRELIMINARY TECHNICAL DATA
Register Name (Serial Address) QDUC Single Tone Profile 3 Register (11h)
Bit Range (Internal Address)
Bit 7 (MSB)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Profile Pins (PS2 >PS0)
<63:56> <55:48> <47:40> <39:32> <31:24> <23:16> <15:8> <7:0>
OPEN
Amplitude Scale Factor #3 <13:8> Amplitude Scale Factor #3 <7:0> Phase Offset Word #3 <15:8> Phase Offset Word #3 <7:0> Frequency Tuning Word #3 <31:24> Frequency Tuning Word #3 <23:16> Frequency Tuning Word #3 <15:8> Frequency Tuning Word #3 <7:0>
011 011 011 011 011 011 011 011 100 100 100 100 100 100 100 100 101 101 101 101 101 101 101 101
QDUC Single Tone Profile 4 Register (12h)
<63:56> <55:48> <47:40> <39:32> <31:24> <23:16> <15:8> <7:0>
OPEN
Amplitude Scale Factor #4 <13:8> Amplitude Scale Factor #4 <7:0> Phase Offset Word #4 <15:8> Phase Offset Word #4 <7:0> Frequency Tuning Word #4 <31:24> Frequency Tuning Word #4 <23:16> Frequency Tuning Word #4 <15:8> Frequency Tuning Word #4 <7:0>
QDUC Single Tone Profile 5 Register (13h)
<63:56> <55:48> <47:40> <39:32> <31:24> <23:16> <15:8> <7:0>
OPEN
Amplitude Scale Factor #5 <13:8> Amplitude Scale Factor #5 <7:0> Phase Offset Word #5 <15:8> Phase Offset Word #5 <7:0> Frequency Tuning Word #5 <31:24> Frequency Tuning Word #5 <23:16> Frequency Tuning Word #5 <15:8> Frequency Tuning Word #5 <7:0>
Rev. PrF | Page 30 of 38
PRELIMINARY TECHNICAL DATA
AD9957
Register Name (Serial Address) QDUC Single Tone Profile 6 Register (14h)
Bit Range (Internal Address)
Bit 7 (MSB)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Profile Pins (PS2 >PS0)
<63:56> <55:48> <47:40> <39:32> <31:24> <23:16> <15:8> <7:0>
OPEN
Amplitude Scale Factor #6 <13:8> Amplitude Scale Factor #6 <7:0> Phase Offset Word #6 <15:8> Phase Offset Word #6 <7:0> Frequency Tuning Word #6 <31:24> Frequency Tuning Word #6 <23:16> Frequency Tuning Word #6 <15:8> Frequency Tuning Word #6 <7:0>
110 110 110 110 110 110 110 110 111 111 111 111 111 111 111 111
QDUC Single Tone Profile 7 Register (15h)
<63:56> <55:48> <47:40> <39:32> <31:24> <23:16> <15:8> <7:0>
OPEN
Amplitude Scale Factor #7 <13:8> Amplitude Scale Factor #7 <7:0> Phase Offset Word #7 <15:8> Phase Offset Word #7 <7:0> Frequency Tuning Word #7 <31:24> Frequency Tuning Word #7 <23:16> Frequency Tuning Word #7 <15:8> Frequency Tuning Word #7 <7:0>
Rev. PrF | Page 31 of 38
AD9957
REGISTER DESCRIPTIONS
Control Function Register #1 (CFR1)
The CFR1 is comprised of four bytes located in address 00h.
CFR1<31>: RAM Enable bit.
PRELIMINARY TECHNICAL DATA
CFR1<21>: Clear CCI bit.
When CFR1<21> = 0 (default), the CCI filter operates normally. When CFR1<21> = 1, The CCI filter is asynchronously cleared.
CFR1<20:17>: Internal Profile Control bits.
When CFR1<31>= 0 (default), disables the RAM putting it in the lowest power state (unless being written to via the serial port). When CFR1<31> = 1, enables the RAM.
CFR1<30:29>: OPEN. Always leave these bits clear. CFR1<28>: RAM QDUC Evaluation Enable bit.
These bits cause the Profile Bits to be ignored and put the device into an automatic "profile loop sequence" that allows the user to implement a frequency/phase composite sweep that runs without external inputs.
CFR1<16>: Sine Enable bit.
When CFR1<28> = 0 (default), The RAM QDUC evaluation mode of the device is inactive. When CFR1<28> = 1, The RAM QDUC evaluation mode is activated, if the RAM Enable bit is set. When in the RAM QDUC Evaluation mode the input data port is disengaged form the signal processing path and the RAM drives the I and Q data at the IQ sample rate.
CFR1<27:26>: OPEN. Always leave these bits clear. CFR1<25:24>: QDUC Operating Mode bits.
When CFR1<16> = 0 (default), the angle-to-amplitude conversion logic outputs a COSINE function. When CFR1<16> = 1, the angle-to-amplitude conversion logic outputs a SINE function.
CFR1<15:14>: OPEN. Always leave these bits clear. CFR1<13>: Auto Clear Phase Accumulator
The CFR1<25:24> bits set the mode of operation:
CFR1<25:24>
When CFR1<13> = 0 (default), ), the accumulation function is not interrupted. When CFR1<13> = 1, this bit automatically and synchronously clears (loads zeros into) the phase accumulator for one cycle upon receipt of the I/O UPDATE sequence indicator.
CFR1<12>: OPEN. Always leave this bit clear. CFR1<11>: Clear Phase Accumulator
Mode of Operation Quadrature Modulation Single Tone Interpolating DAC
00 (default) 01 1x
CFR1<23>: Manual OSK External Control.
Note, this bit is ignored unless manual OSK mode is selected using CFR1<9:8>. When CFR1<23> = 0 (default), the manual OSK mode does not require the use of the OSK input pin to operate. When CFR1<23> = 1, the manual OSK mode uses the OSK input pin. See pin description.
CFR1<22>: Inverse Sinc Enable bit.
When CFR1<11> = 0 (default), the phase accumulator functions as normal. When CFR1<11> = 1, the phase accumulator memory element is asynchronously cleared.
CFR1<10>: Load Amplitude Rate Register @ IOUpdate
When CFR1<22> = 0 (default), the inverse sinc filter is inactive - the local clock is stopped to save power. The input data is passed directly to the output of the filter. When CFR1<22> = 1, the inverse sinc filter is enabled and operational.
When CFR1<10> = 0 (default), the amplitude ramp rate timer is loaded only upon timeout (timer ==1); it is not loaded due to an I/O UPDATE input signal (or change in profile). When CFR1<10> = 1, the amplitude ramp rate timer is loaded upon timeout (timer ==1) or at the time of an I/O UPDATE input signal (or change in profile).
CFR1<9>: Output Shaped Keying Enable
Rev. PrF | Page 32 of 38
PRELIMINARY TECHNICAL DATA
CFR1<9> = 0 (default), disables Shaped On-Off Keying. The clocks to this function are stopped for power savings. CFR1<9> = 1, enables Shaped On-Off Keying. CFR1<8> sets the mode of operation.
CFR1<8>: Automatic Output Shaped Keying Enable
AD9957
matically switches into its low power mode.
CFR1<1>: SDIO Input Only
CFR1<1> = 0 (default), configures the SDIO pin for bidirectional operation (2-wire serial programming mode). CFR1<1> = 1, configures the serial data I/O pin (SDIO) as an input only pin (3-wire serial programming mode).
CFR1<0>: LSB First
If CFR1<9> is clear, this bit is ignored. CFR1<8> = 0 enables MANUAL Shaped On-Off Keying. CFR1<8> = 1 enables AUTO Shaped On-Off Keying.
CFR1<7>: Digital Power Down
CFR1<0> = 0 (default), sets MSB first format. CFR1<0> = 1, sets LSB first format.
CFR1<7> = 0 (default), enables the digital circuitry. CFR1<7> = 1, disables the digital circuitry, putting it in its' lowest power dissipation state.
CFR1<6>: DAC Power Down
Control Function Register #2 (CFR2)
CFR2<31>: BlackFin Interface Mode Active bit.
When CFR2<31>= 0 (default), the parallel input data port operates as described in the data assembler section of this document. When CFR2<31> = 1, the AD9957 data port is configured for direct connection to the BlackFin SPORT interface. See the BlackFin Interface section of this document
for details.
CFR1<6> = 0 (default), enables the DAC Circuitry. CFR1<6> = 1, disables the DAC Circuitry, putting it in a low power dissipation state.
CFR1<5>: Clock Input Power Down
CFR2<30>: BlackFin Bit Order bit.
CFR1<5> = 0 (default), enables the Clock Input Circuitry. CFR1<5> = 1, disables the Clock Input Circuitry putting it in a low power dissipation state.
CFR1<4>: Open CFR1<3>: External Power Down Mode
This bit is ignored if the AD9957 is not operating in the BlackFin Interface Mode (see CFR2<31>).
CFR2<30>= 0 (default) sets MSB first format. CFR2<30> = 1 sets LSB first format. CFR2<29>: BlackFin Early Frame Sync Enable bit.
When CFR1<3> = 0 (default) the external power down mode selected is "fast recovery power down". In this mode, when the EXTPWRDWN input pin is high, the digital logic and the DAC digital logic are powered down. The DAC bias circuitry, comparator, PLL, oscillator, and clock input circuitry is NOT powered down. When CFR1<3> = 1, the external power down mode selected is "full power down". In this mode, when the EXTPWRDWN input pin is high, all functions are powered down including the DAC and PLL, which take a significant amount of time to power up.
CFR1<2>: Automatic Power Down
This bit is ignored if the AD9957 is not operating in the BlackFin Interface Mode (see CFR2<31>). When CFR2<29>= 0 (default), the frame sync signal is expected by the AD9957 to be co-incident with the first data bit transmitted. (`Late frame sync operation' in the Blackfin documentation). When CFR2<29> = 1, the frame sync signal is expected by the AD9957 to be one cycle preceding the first data bit transmitted. (`Early frame sync operation' in the Blackfin documentation). Also, for continuous data transmission, the early frame sync bit will be co-incident with the last bit of the previous word transmitted.
CFR2<28:25>: Open. Leave these bits clear CFR2<24>: Single Tone Profile Enable bit.
CFR1<2> = 0 (default), disables automatic power down. When CFR1<2> = 1 when TX ENABLE is de-asserted for a sufficiently long period of time the device auto-
When CFR2<24>= 0 (default), direct modulation of
Rev. PrF | Page 33 of 38
AD9957
amplitude via the profile registers is not possible. When CFR2<24> = 1, direct modulation of amplitude via the profile registers is possible, depending upon other
chip configurations.
PRELIMINARY TECHNICAL DATA
PDCLK pin is equal to the input data rate. When CFR2<13> = 1, the rate out of the PDCLK pin is equal to one half the input data rate. This provides insight into the phase of the signal processing clock, relative to the input data rate. See the Data Assembler section of the functional description for details.
CFR2<12>: Data Format bit.
CFR2<23>: Internal IO Update Active bit.
When CFR2<23>= 0 (default), the IO Update feature is controlled externally through the I/O_UPDATE pin, which is configured as an input.. When CFR2<23> = 1, the IO Update feature is controlled internally via a down counter. The I/O_UPDATE pin, is configured as an output to signal the user to when IO updates have occurred.
When CFR2<12>= 0 (default), data received is treated as `twos complement'. When CFR2<12> = 1, data received is treated as `offset binary'. The MSB of the data word is inverted before being sent to the signal processing logic.
CFR2<11>: Enable PDCLK bit
CFR2<11> = 0 pulls the PDCLK pin low. CFR2<11>= 1 (default) activates PDCLK pin.
CFR2<22>: Enable IO SYNC CLK bit.
CFR2<22>= 1 (default), activates the IOSYNCCLK pin. When CFR2<22> = 0, the IOSYNCCLK pin is pulled low.
CFR2<21:17>: OPEN. Always leave these bits clear. CFR2<16>: Read Effective FTW bit
CFR2<10>: PDCLK Invert bit
When CFR2<10>= 0 (default), the PDCLK pin is in phase with the clock that samples the data into the part. When CFR2<10> = 1, the PDCLK pin is in inverted from the clock that samples the data into the part.
When CFR2<16>= 0 (default, a serial IO read instruction reads hex address 07h (FTW register), the serial port reads back the register at hex address 07h. When CFR2<16> = 1, a serial IO read instruction reads hex address 07h (FTW register), the serial port reads back the active FTW.
CFR2<15:14>: IO Update Rate Control bits.
CFR2<9>: TxEnable Invert bit
When CFR2<9>= 0 (default), a logic 1 on the TxEnable pin indicates I data and a logic 0 on the TxEnable pin indicates Q data, if the user is employing a continuous timing style on the TxEnable pin. For burst timing style, if the TxEnable Invert bit is cleared, a logic 1 on the TxEnable pin enables the AD9957 to transmit data and a logic zero indicates no further data is to be transmitted. When CFR2<9> = 1, a logic 1 on the TxEnable pin indicates Q data and a logic 0 on the TxEnable pin indicates I data, if the user is employing a continuous timing style on the TxEnable pin. For burst timing style, if the TxEnable Invert bit is set, a logic 0 on the TxEnable pin enables the AD9957 to transmit data and a logic one indicates no further data is to be transmitted.
These bits are ignored if Internal IO Update is not activated using bit CFR2<23> The CFR2<15:14> bits set the clock rate for the IO Update down counter. The table below indicates the clock rate divisor
CFR2<15:14>
IO SYNC CLK Divisor 1 2 4 8
00 01 10 11
CFR2<8>: Q First Data Pairing bit
When CFR2<8>= 0 (default), I data precedes Q data in the assembly of the I/Q data pair that is processing in the QDUC signal chain. When CFR2<8> = 1, Q data precedes I data in the assembly of the I/Q data pair that is processing in the QDUC signal chain.
CFR2<13>: PDCLK Rate Control bit.
When CFR2<13>= 0 (default), the rate out of the
CFR2<7>: Matched Latency bit.
Rev. PrF | Page 34 of 38
PRELIMINARY TECHNICAL DATA
When CFR2<7>= 0 (default), the Frequency Tuning Word, Phase Offset and Amplitude Scalar pipe delays are minimized. The output will reflect amplitude changes before it reflects phase changes, and phase changes before it reflects frequency changes. When CFR2<7> = 1, the Frequency Tuning Word, Phase Offset and Amplitude Scalar pipe delays are implemented such that the simultaneous application of changes in frequency, phase and amplitude are reflected on the output simultaneously too.
AD9957
CFR3<21:19>: Charge Pump Current Bits
As per the table below, these bits set the charge pump output current.
CFR3<21:19>
Charge Pump Current (A)
000 001 010 011 100 101 110 111
200 225 250 275 300 325 350 375
Table 6 Charge Pump Output Current Settings
CFR2<6>: Data Assembler Holds Last Value bit
When CFR2<6>= 0 (default), the data port drives logic zeros onto the signal processing data path when transmission is disabled. When CFR2<6> = 1, the data port holds the last data word registered when transmission is disabled.
CFR2<5>: Sync Sample Error Mask bit
CFR2<5>= 0 disables the SYNC_SMP_ERR pin. CFR2<5> = 1 (default) enables the SYNC_SMP_ERR pin.
CFR3<18:16>: OPEN. Leave these bits clear CFR3<15>: REFCLK Input Divider Disable bit.
When CFR3<15> = 0 The AD9957 REFCLK input divider is bypassed. The internal sysclk fed to the device (or the clock multiplier) equals the REFCLK rate When CFR3<15> = 1 (default) The AD9957 REFCLK input divider is enabled (to /2). The internal sysclk fed to the device (or the clock multiplier) is equal to 1/2 the REFCLK rate.
CFR2<3:0>: FM Gain bits.
When operating the device in single tone mode and FM
modulation is selected via the Data Port Destination bits, if the Single Tone Data Port Enable bit is set, these bits are used to select one of 16 possible 16-bit ranges relative to the 32-bit DDS tuning word.
Control Function Register #3 (CFR3)
CFR3<31:30>: DRV0 (XTAL_OUT) control bits.
These bits set the drive strength of the buffered reference clock output on pin 93. 00 = OFF (default) 01 = Low drive strength 10 = Mid drive strength 11 = High drive strength
CFR3<29:27>: Open. Leave these bits clear. CFR3<26:24>: VCO Selection Bits.
As per the table below, these bits set the VCO for the appropriate range.
CFR3<14>: OPEN
This bit is used strictly for testing, leave SET.
CFR3<13:9>: OPEN
These bits are used for testing; leave CLEAR.
CFR3<8>: PLL Enable bit.
When CFR3<8>= 0 (default). The AD9957 reference clock rate equals the DAC clock sampling rate. The PLL is bypassed and the clock multiplier is powered down. When CFR3<8> = 1, The AD9957 reference clock rate times the PLL Multiplier bit (integer equivalent) equals the DAC clock sampling rate.
Bits 000 001 010 011 100 101 11x
Min Max 420MHz 485MHz 485MHz 560MHz 560MHz 655MHz 655MHz 830MHz 830MHz 920MHz 920MHz 1000MHz PLL WILL NOT FUNCTION
CFR3<7:1>: REFCLK Multiplier bits.
These bits make up the 8-bit word that is the multiplication factor used by the PLL Clock Multiplier circuitry. The decimal equivalent of the binary value of these bits is the multiplication factor. Only certain values are valid (See Ta-
Rev. PrF | Page 35 of 38
AD9957
ble 4). If the PLL is enabled (CFR3<8>), a valid value must be programmed here for proper PLL operation. If the PLL is disabled, these bits are ignored.
PRELIMINARY TECHNICAL DATA
This 3 bit word specifies the behavior the RAM controller follows when stepping through the Segment according to the following table. Note, the behavior indicated refers to the RAM address itself, not necessarily the data stored and sent to the QDUC.
CFR3<0>: REFCLK input doubler active bit
When CFR3<0>= 0 (default) the reference clock is fed directly to the PFD. When CFR3<0> = 1, the reference clock is doubled in frequency prior to being fed to the PFD.
QSRX<2:0> 000 001 010 011 100
RAM Mode Direct Switch (Beginning Address only) Ramp Up Bidirectional Ramp (ramp up, ramp down) Continuous Bidirectional (ramp up, ramp down, ramp up, etc) Continous recirculate (Ramp up from beginning to final address, then immediately return to beginning address and repeat). Not Used
Auxilliary DAC Control Register
These 8 bits control the auxiliary DAC that modulates the full scale current of the Tx DAC. For a default DAC_Rset value of 10K, these bits modulate the DAC output full scale current between 8.66mA and 31.66mA, with each LSB representing approximately 90A of resolution.
IO Update Rate Register
This register sets the interval for the down counter which divides the system clock down to an internal I/O update interval period. When the internal I/O Update mode is disabled, this register is ignored. Each LSB represents one SYNC_CLK cycle, so the interval for an internal I/O update rate varies between 1 and 2^32( 4,294,967,296) sync_clock cycles, where a sync_clock cycle is 1/4 of a system clock cycle. 101, 110, 111
Frequency Tuning Word Register (FTW)
This register sets the frequency tuning word of the DDS core, which is either the output frequency (single tone mode) or the carrier frequency (modulator mode). When the Phase/Frequency/Amplitude Profiles are enabled, this register serves no function.
QDUC RAM Segment Registers (QRSR0, QRSR1)
These registers program the behavior of the internal RAM controller for when the RAM is configured to drive QDUC data or drive the input scalars. QRSR0 feeds data to the I-channel and QRSR1 feeds data to the Q-channel. These registers serve no function when the AD9957 is programmed to be in single-tone mode.
QRSRX<47:32> RAM Segment Address Ramp Rate
Phase Offset Word Register (POW)
This register controls the phase offset of the DDS core in either the output frequency (single tone mode) or the carrier frequency (modulator mode). When the Phase/Frequency/Amplitude Profiles are enabled, this register serves no function.
This 16 bit word controls the period between QDUC RAM segment steps. Each LSB in this word weights the delay by 1 SYNC_CLK cycle (which is 1/4 the system clock rate).
QRSRX<31:22> RAM Segment Final Address
Amplitude Scale Factor (ASF)
This register controls the digital multiplier (amplitude scale factor) inside the DDS core itself. It does not affect the digital multiplier immediately prior to the DAC . In automatic OSK mode, this controls the ramp rate and final value of the amplitude ramping function. In manual OSK mode, only the Amplitude Scale Factor is used, the Amplitude Ramp Rate is `don't care'. When the Phase /Frequency /Amplitude Profiles are enabled, this register serves no function.
This 10 bit word specifies the final address location in the RAM where the data profile is stored.
QRSRX<21:16> OPEN QRSRX<15:6> RAM Segment Beginning Address
This 10 bit word specifies the beginning address location in the RAM where the data profile is stored.
QRSRX<5:3> OPEN QSRX<2:0> RAM Segment Mode Control
QDUC Profile X Register (QDUC-PXR)/ Single Tone Profile X Register (ST-PXR)
There are 8 special purpose registers which reside at addresses h'0E to h'15. These registers can take on one of three roles: they can either be QDUC Profile Registers, RAM Profile Registers or Single Tone Profile Registers.
Rev. PrF | Page 36 of 38
PRELIMINARY TECHNICAL DATA
First and foremost, the part will use these registers as QDUC Profile registers if the part is in quadrature modulator mode CFR1<25:24> = 00.
AD9957
Rev. PrF | Page 37 of 38
AD9957
OUTLINE DIMENSIONS
PRELIMINARY TECHNICAL DATA
14.00 BSC SQ
100 1 PIN 1 76 75 76 75 100 1
TOP VIEW
(PINS DOWN)
EXPOSED PAD
5.00 SQ
1.05 1.00 0.95
0 MIN
0.15 0.05
SEATING PLANE
0.20 0.09 7 3.5 0 0.08 MAX COPLANARITY
25 26
51 50
51 50
BOTTOM VIEW (PINS UP) 26
25
VIEW A
0.50 BSC LEAD PITCH
0.27 0.22 0.17
VIEW A
ROTATED 90 CCW
COMPLIANT TO JEDEC STANDARDS MS-026-AED-HD
NOTES 1. CENTER FIGURES ARE TYPICAL UNLESS OTHERWISE NOTED. 2. THE AD9957 HAS A CONDUCTIVE HEAT SLUG TO HELP DISSIPATE HEAT AND ENSURE RELIABLE OPERATION OF THE DEVICE OVER THE FULL INDUSTRIAL TEMPERATURE RANGE. THE SLUG IS EXPOSED ON THE BOTTOM OF THE PACKAGE AND ELECTRICALLY CONNECTED TO VEE. IT IS RECOMMENDED THAT NO PCB SIGNAL TRACES OR VIAS BE LOCATED UNDER THE PACKAGE THAT COULD COME IN CONTACT WITH THE CONDUCTIVE SLUG. ATTACHING THE SLUG TO A VEE PLANE WILL REDUCE THE JUNCTION TEMPERATURE OF THE DEVICE WHICH MAY BE BENEFICIAL IN HIGH TEMPERATURE ENVIRONMENTS.
ORDERING GUIDE
Model AD9957BSVZ AD9957BSVZREEL13 AD9957/PCBZ Temperature Range -40C to +105C -40C to +105C Package Description 48-Lead Thin Plastic Quad Flat Package, Exposed Pad (TQFP_EP) 48-Lead Thin Plastic Quad Flat Package, Exposed Pad (TQFP_EP), 1000 Device, 13-Inch Reel Evaluation Board Package Outline
Rev. PrF | Page 38 of 38
080106-A
PR06384-0-9/06(PrF)
0.75 0.60 0.45
1.20 MAX
16.00 BSC SQ


▲Up To Search▲   

 
Price & Availability of AD9957BSVZREEL13

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X